package com.itchen.school.common.jdkext;

import java.io.Serializable;

public interface Predicate1<T> extends Serializable {
    default boolean test(T t) {
        return true;
    }

    @SafeVarargs
    static <T1> Predicate1<T1>[] of(Predicate1<T1>... funcs) {
        return funcs;
    }
}

